package com.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.dto.AppointmentDto;
import com.common.domain.dto.DoctorDto;
import com.common.domain.entity.Doctor;
import com.common.domain.entity.Leave;
import com.common.domain.entity.ResponseResult;
import com.common.domain.entity.User;
import com.common.domain.vo.DoctorInfoVo;

import java.text.ParseException;
import java.util.List;

/**
* @author pc
* @description 针对表【sys_doctor】的数据库操作Service
* @createDate 2023-09-02 11:17:55
*/
public interface DoctorService extends IService<Doctor> {

    ResponseResult getDoctorInfo();

    ResponseResult getDoctorDetail(Long id);


    List<Long> getDoctorLeaveInfo(Long id, String type);

    ResponseResult allDoctorList(Integer pageNum, Integer pageSize, String name, String departmentId);

    ResponseResult deleteDoctor(String ids);

    ResponseResult insertDoctor(DoctorDto doctorDto);

    ResponseResult updateDoctor(DoctorDto doctorDto);

    ResponseResult changeStatus(Long id, String status);

    DoctorInfoVo getInfo();

    ResponseResult addLeaveInfo(Leave leave);

    ResponseResult updateLeaveInfo(Leave leave);
}
